package de.pyranja.timing;

import com.google.common.base.Ticker;

/**
 * A mutable mock ticker 
 * @author Chris Borckholder
 */
public class TestTicker extends Ticker {

	private long time;
	
	@Override
	public long read() {
		return time;
	}
	
	/**
	 * @param time the time to set
	 */
	public void setTime(long time) {
		this.time = time;
	}
}